package cz.cuni.amis.episodic.lisp.behan;

/**
 *
 * @author behan
 */
public interface Visitor<T> {
    Visitor<T> visitTree(VisitableTree<T> tree);

    boolean visitData(VisitableTree<T> parent, T data, boolean isLeaf) throws java.io.IOException;
    boolean postVisitData(VisitableTree<T> parent, T data, boolean isLeaf) throws java.io.IOException;
}
